<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:81:"/www/wwwroot/zaozao/public/../application/admin/view/community/community_add.html";i:1596511109;s:59:"/www/wwwroot/zaozao/application/admin/view/public/head.html";i:1597211856;}*/ ?>
<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>支付宝生活缴费系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/static/admin/css/font.css">
	<link rel="stylesheet" href="/static/admin/css/xadmin.css">
	<!--<link rel="stylesheet" href="/static/admin/css/bootstrap.min.css">
	<link rel="stylesheet" href="/static/admin/js/bootstrap.min.js">-->
	
    <script src="/static/admin/js/jquery.min.js"></script>
    <script src="/static/admin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/static/admin/js/xadmin.js"></script>
  </head>
  
  <body>
    <div class="x-body">
        <form class="layui-form" method="post" action="<?php echo url("","",true,false);?>">
          <div class="layui-form-item">
                <label for="name" class="layui-form-label">
                    <span class="x-red">*</span>小区名称:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="name" name="community_name" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="username" class="layui-form-label">
                    <span class="x-red">*</span>所属物业:
                </label>
                <div class="layui-input-inline" style="width: 300px;">
                    <select name="property_id">
                        <option value=""><------选择物业------></option>
                        <?php foreach($propertylist as $pro): ?>
                        <option value="<?php echo $pro['id']; ?>"><?php echo $pro['name']; ?></option>
                        <?php endforeach; ?>
                    </select>
                </div>
            </div>
          <div class="layui-form-item">
              <label for="L_username" class="layui-form-label">
                  <span class="x-red">*</span>小区详细地址:
              </label>
              <div class="layui-input-inline">
                  <input type="text" id="L_username" name="community_address" required="" lay-verify="required"
                  autocomplete="off" class="layui-input" style="width:300px;">
              </div>
          </div>
          <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">
                <span class="x-red">*</span>省份编码:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="L_username" name="province_code" required="" lay-verify="required"
                autocomplete="off" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">
                <span class="x-red">*</span>地级市编码:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="L_username" name="city_code" required="" lay-verify="required"
                autocomplete="off" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">
                <span class="x-red">*</span>区县编码:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="L_username" name="district_code" required="" lay-verify="required"
                autocomplete="off" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">
                <span class="x-red">*</span>服务热线电话:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="L_username" name="hotline" required="" lay-verify="required"
                autocomplete="off" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">
                <span class="x-red">*</span>经纬度:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="L_username" name="community_locations" required="" lay-verify="required"
                autocomplete="off" class="layui-input" style="width:300px;">
            </div>
        </div>
        <!--<div class="layui-form-item">
            <label for="L_username" class="layui-form-label">
                <span class="x-red"></span>子商户号:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="L_username" name="sub_mch_id" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">
                <span class="x-red"></span>水费单价:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="L_username" name="water" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_username" class="layui-form-label">
                <span class="x-red"></span>电费单价:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="L_username" name="electric" class="layui-input" style="width:300px;">
            </div>
        </div>-->
     

          <div class="layui-form-item">
              <label for="L_repass" class="layui-form-label">
              </label>
              <button  class="layui-btn" lay-filter="add" lay-submit="">
                  添加小区
              </button>
          </div>
      </form>
    </div>
    <script>
        layui.use(['form','layer'], function(){
            $ = layui.jquery;
          var form = layui.form
          ,layer = layui.layer;
        
          //自定义验证规则

    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>